package com.itheima.service;

import com.itheima.pojo.Order;
import com.itheima.pojo.SubmitOrder;

public interface OrderService {

    /**
     * 根据id查询预约信息
     * @param id
     * @return
     */
    Order findById(String id);

    /**
     * 提交预约
     * @param submitOrder
     * @return
     */
    Integer submitOrder(SubmitOrder submitOrder);
}
